package com.java2007.pojo;

import java.io.Serializable;

public class Employee implements Serializable {
    private Long eId;

    private String eName;

    private Long eDepId;

    private static final long serialVersionUID = 1L;

    public Long geteId() {
        return eId;
    }

    public void seteId(Long eId) {
        this.eId = eId;
    }

    public String geteName() {
        return eName;
    }

    public void seteName(String eName) {
        this.eName = eName == null ? null : eName.trim();
    }

    public Long geteDepId() {
        return eDepId;
    }

    public void seteDepId(Long eDepId) {
        this.eDepId = eDepId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", eId=").append(eId);
        sb.append(", eName=").append(eName);
        sb.append(", eDepId=").append(eDepId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}